package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.Truck;
import org.apache.ibatis.annotations.Param;

/**
 * Created by gc on 2016/5/24.
 */
@MyBatisMapper
public interface TruckMapper {

    Long save(Truck truck);

    Truck get(@Param(value = "id") Long id);

    void update(Truck truck);

    Truck findByinfoid(String infoid);
}
